/* 隐蔽阅读助手样式 */
.stealth-reader {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: opacity 0.3s ease !important;
    box-sizing: border-box;
}

.stealth-reader:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.stealth-reader:active {
    transform: none !important;
}

.stealth-reader-content {
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: none !important;
}

.stealth-reader-filename {
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.stealth-reader-filename:hover {
    opacity: 1;
}

/* 夜间模式适配 */
@media (prefers-color-scheme: dark) {
    .stealth-reader {
        color: #e0e0e0;
        background: transparent !important;
        border: none !important;
    }
    
    .stealth-reader-content {
        text-shadow: 0 1px 0 rgba(0,0,0,0.7);
    }
    
    .stealth-reader-filename {
        color: #a0a0a0;
    }
}

/* 移动设备适配 */
@media (max-width: 768px) {
    .stealth-reader {
        max-width: 95% !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* 高对比度模式适配 */
@media (prefers-contrast: high) {
    .stealth-reader {
        border: none !important;
        opacity: 0.9 !important;
    }
}

/* 减少动画偏好适配 */
@media (prefers-reduced-motion: reduce) {
    .stealth-reader {
        transition: none;
        transform: none !important;
    }
}